# -*- coding: utf-8 -*-

# Form implementation generated from reading ui file 'MainWindow.ui'
#
# Created: Tue Nov 22 19:03:31 2011
#      by: PyQt4 UI code generator 4.8.1
#
# WARNING! All changes made in this file will be lost!

from PyQt4 import QtCore, QtGui

try:
    _fromUtf8 = QtCore.QString.fromUtf8
except AttributeError:
    _fromUtf8 = lambda s: s

class Ui_MainWindow(object):
    def setupUi(self, MainWindow):
        MainWindow.setObjectName(_fromUtf8("MainWindow"))
        MainWindow.resize(592, 498)
        MainWindow.setMinimumSize(QtCore.QSize(592, 498))
        self.centralwidget = QtGui.QWidget(MainWindow)
        self.centralwidget.setObjectName(_fromUtf8("centralwidget"))
        self.gridLayout = QtGui.QGridLayout(self.centralwidget)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.horizontalLayout_3 = QtGui.QHBoxLayout()
        self.horizontalLayout_3.setObjectName(_fromUtf8("horizontalLayout_3"))
        self.label_2 = QtGui.QLabel(self.centralwidget)
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.horizontalLayout_3.addWidget(self.label_2)
        self.workspaceBox = QtGui.QComboBox(self.centralwidget)
        self.workspaceBox.setMinimumSize(QtCore.QSize(250, 0))
        self.workspaceBox.setMaximumSize(QtCore.QSize(250, 16777215))
        self.workspaceBox.setEditable(False)
        self.workspaceBox.setFrame(True)
        self.workspaceBox.setObjectName(_fromUtf8("workspaceBox"))
        self.horizontalLayout_3.addWidget(self.workspaceBox)
        spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.horizontalLayout_3.addItem(spacerItem)
        self.gridLayout.addLayout(self.horizontalLayout_3, 0, 0, 1, 2)
        self.buildsTree = QtGui.QTreeWidget(self.centralwidget)
        self.buildsTree.setObjectName(_fromUtf8("buildsTree"))
        self.gridLayout.addWidget(self.buildsTree, 1, 0, 5, 1)
        self.addBtn = QtGui.QPushButton(self.centralwidget)
        self.addBtn.setObjectName(_fromUtf8("addBtn"))
        self.gridLayout.addWidget(self.addBtn, 1, 1, 1, 1)
        self.removeBtn = QtGui.QPushButton(self.centralwidget)
        self.removeBtn.setObjectName(_fromUtf8("removeBtn"))
        self.gridLayout.addWidget(self.removeBtn, 2, 1, 1, 1)
        self.refreshBtn = QtGui.QPushButton(self.centralwidget)
        self.refreshBtn.setObjectName(_fromUtf8("refreshBtn"))
        self.gridLayout.addWidget(self.refreshBtn, 3, 1, 1, 1)
        spacerItem1 = QtGui.QSpacerItem(74, 268, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.gridLayout.addItem(spacerItem1, 4, 1, 1, 1)
        self.deployBtn = QtGui.QPushButton(self.centralwidget)
        self.deployBtn.setObjectName(_fromUtf8("deployBtn"))
        self.gridLayout.addWidget(self.deployBtn, 5, 1, 1, 1)
        MainWindow.setCentralWidget(self.centralwidget)
        self.menubar = QtGui.QMenuBar(MainWindow)
        self.menubar.setGeometry(QtCore.QRect(0, 0, 592, 22))
        self.menubar.setObjectName(_fromUtf8("menubar"))
        MainWindow.setMenuBar(self.menubar)
        self.statusbar = QtGui.QStatusBar(MainWindow)
        self.statusbar.setObjectName(_fromUtf8("statusbar"))
        MainWindow.setStatusBar(self.statusbar)

        self.retranslateUi(MainWindow)
        QtCore.QObject.connect(self.workspaceBox, QtCore.SIGNAL(_fromUtf8("currentIndexChanged(int)")), MainWindow.onWorkspaceChanged)
        QtCore.QObject.connect(self.deployBtn, QtCore.SIGNAL(_fromUtf8("clicked()")), MainWindow.onDeploy)
        QtCore.QObject.connect(self.addBtn, QtCore.SIGNAL(_fromUtf8("clicked()")), MainWindow.onAdd)
        QtCore.QObject.connect(self.removeBtn, QtCore.SIGNAL(_fromUtf8("clicked()")), MainWindow.onRemove)
        QtCore.QObject.connect(self.refreshBtn, QtCore.SIGNAL(_fromUtf8("clicked()")), MainWindow.onRefresh)
        QtCore.QObject.connect(self.buildsTree, QtCore.SIGNAL(_fromUtf8("itemDoubleClicked(QTreeWidgetItem*,int)")), MainWindow.onDeploy)
        QtCore.QMetaObject.connectSlotsByName(MainWindow)

    def retranslateUi(self, MainWindow):
        MainWindow.setWindowTitle(QtGui.QApplication.translate("MainWindow", "SoundDeployer", None, QtGui.QApplication.UnicodeUTF8))
        self.label_2.setText(QtGui.QApplication.translate("MainWindow", "Workspace:", None, QtGui.QApplication.UnicodeUTF8))
        self.buildsTree.headerItem().setText(0, QtGui.QApplication.translate("MainWindow", "Xbox360", None, QtGui.QApplication.UnicodeUTF8))
        self.addBtn.setText(QtGui.QApplication.translate("MainWindow", "Add", None, QtGui.QApplication.UnicodeUTF8))
        self.removeBtn.setText(QtGui.QApplication.translate("MainWindow", "Remove", None, QtGui.QApplication.UnicodeUTF8))
        self.refreshBtn.setText(QtGui.QApplication.translate("MainWindow", "Refresh", None, QtGui.QApplication.UnicodeUTF8))
        self.deployBtn.setText(QtGui.QApplication.translate("MainWindow", "Deploy", None, QtGui.QApplication.UnicodeUTF8))


if __name__ == "__main__":
    import sys
    app = QtGui.QApplication(sys.argv)
    MainWindow = QtGui.QMainWindow()
    ui = Ui_MainWindow()
    ui.setupUi(MainWindow)
    MainWindow.show()
    sys.exit(app.exec_())

